﻿<?xml version="1.0"?>
<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2" assembly="Blazing.BusinessObjects" namespace="Blazing.BusinessObjects.Cms" >
	<class name="StatisticLog" table="statisticlogs" lazy="false" dynamic-insert="true" dynamic-update="true">

		<id name="ID" column="statisticlogid" type="Int32">
			<generator class="native" />
		</id>
		<timestamp name="RowStamp" column="rowstamp" />

		<property name="DateTime" column="datetime" type="Timestamp" />
		<many-to-one name="Session" column="statisticsessionid" class="StatisticSession" cascade="all-delete-orphan" />
		<many-to-one name="Page" column="pageid" class="Contentpage" />
		<many-to-one name="Referrer" column="statisticreferrerid" class="StatisticReferrer" cascade="all-delete-orphan" />
	</class>
</hibernate-mapping>
